﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Adminitrator.master" AutoEventWireup="true" CodeFile="List.aspx.cs" Inherits="admin_Mail_List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" Runat="Server">
  <h1 class="title">Danh sách Email khách đăng ký nhân tin </h1>
  <div style="margin: 10px">
  <asp:GridView ID="GridView1" runat="server" Width="100%" 
      EnableModelValidation="True" AutoGenerateColumns="False">
    <Columns>
      <asp:TemplateField HeaderText="STT">
        <ItemTemplate>
          <%#Container.DataItemIndex+1 %>
        </ItemTemplate>
      </asp:TemplateField>
      <asp:BoundField DataField="Email1" HeaderText="Email" />
      <asp:BoundField DataField="DateRegister" HeaderText="Date Register" />
    </Columns>
  </asp:GridView>
  </div>
      <div style="margin: 5px 0px">
      <asp:Button ID="btnExport" runat="server" Text="Xuất ra file Exel" 
        onclick="btnExport_Click" />
    </div>
</asp:Content>


